package com.woniuxy.products.service.impl;

import com.woniuxy.commons.entity.Rate;
import com.woniuxy.products.mapper.RateMapper;
import com.woniuxy.products.service.RateService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author author
 * @create 2021-11-16 21:51
 */
@Service
public class RateServiceImpl implements RateService {
    @Resource
    private RateMapper rateMapper;

    @Override
    public void addRate(Rate rate) {
        rateMapper.insertRate(rate);
    }
}
